package com.kuang.helloworld.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/hello") //http://127.0.0.1:8080/hello
    public String hello(){
        return "hello world";
    }
}
